package com.ruoyi.youtobe.mapper;

import com.ruoyi.youtobe.domain.YoutobeChannelVideo;

import java.util.List;

/**
 * @Title:
 * @author: WYJ
 * @date: 2025/11/11
 */
public interface YoutobeChannelVideoMapper {

    /**
     * 查询YouToBe视频信息
     *
     * @param id YouToBe视频信息主键
     * @return YouToBe视频信息
     */
    public YoutobeChannelVideo selectYoutobeChannelVideoById(Long id);

    /**
     * 查询YouToBe视频信息列表
     *
     * @param youtobeChannelVideo YouToBe视频信息
     * @return YouToBe视频信息集合
     */
    public List<YoutobeChannelVideo> selectYoutobeChannelVideoList(YoutobeChannelVideo youtobeChannelVideo);

    /**
     * 新增YouToBe视频信息
     *
     * @param youtobeChannelVideo YouToBe视频信息
     * @return 结果
     */
    public int insertYoutobeChannelVideo(YoutobeChannelVideo youtobeChannelVideo);

    /**
     * 修改YouToBe视频信息
     *
     * @param youtobeChannelVideo YouToBe视频信息
     * @return 结果
     */
    public int updateYoutobeChannelVideo(YoutobeChannelVideo youtobeChannelVideo);

    /**
     * 删除YouToBe视频信息
     *
     * @param id YouToBe视频信息主键
     * @return 结果
     */
    public int deleteYoutobeChannelVideoById(Long id);

    /**
     * 批量删除YouToBe视频信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYoutobeChannelVideoByIds(Long[] ids);

    /**
     * @description: 根据视频id获取数据
     * @author: WYJ
     * @date: 2025/11/12
     * @param:
     */

    YoutobeChannelVideo selectVideoByVideoId(String videoId);


    List<String> selectVideoKeyListByType(String type);


    List<YoutobeChannelVideo> getVideoNoPic(Integer num);
}
